<script>
function div_fade()
{

}
</script>

<div id="topo">
	<div id="logoTopo">
		<img src="/intranet/public/imagens/logo.png" />
	</div>
	<div style="position: absolute; border: 0px solid; right: 5px; width: 500px; top: 1px; text-align: right;" >
		<!-- Topo Direito -->			
	</div>
	<div class="conteudoDirTopo">
		<div style="border: 0px solid; right: 5px; text-align: right; font-size: 10px;" >
			<a href="javascript:;" onclick="$('.divM').fadeIn('fast');" style="color: #505050; text-decoration: none;">
				<b><? echo $this->usuario->nome; ?></b>
			</a>
			<a href="javascript:;" onclick="lock_but();">
				<img style="border: 0;" src="/intranet/public/imagens/icones/lock_small.png" />
			</a>
			<a href="javascript:;" onclick="if(confirm('Deseja sair do sistema?')){window.open('/intranet/logoff/', '_self')};">
				<img style="border: 0;" src="/intranet/public/imagens/icones/down_small.png" />				
			</a>
		</div>
		<!-- div class="botaoTopo" style="float: right;" onclick="if(confirm('Are u sure?')){window.open('/intranet/logoff/', '_self')};">
			Sair
		</div>
		<div class="botaoTopo" onclick="lock_but();">
			Lock
		</div-->
	</div>
</div>
<div class="divM" style="display: none; color: black; opacity: 0.95; z-index: 100; background-color: white; width: 250px; position: absolute; border: 1px solid #B4B4B4; right: 0; border-top: 0;">
	<div onmouseover="$(this).css('cursor', 'pointer');" style="position: absolute; right: 4px; top: 2px;" onclick="$('.divM').fadeOut('fast');">
		X
	</div>
	<table>
		<tr>
			<td>
				Id
			</td>
			<td>
				:
			</td>
			<td>
				<? echo $this->usuario->id; ?>
			</td>
		</tr>
		<tr>
			<td>
				Grupo
			</td>
			<td>
				:
			</td>
			<td>
				<? echo $this->usuario->grupo; ?>
			</td>
		</tr>
		<tr>
			<td>
				Nome
			</td>
			<td>
				:
			</td>
			<td>
				<? echo $this->usuario->nome; ?>
			</td>
		</tr>
		<tr>
			<td>
				Login
			</td>
			<td>
				:
			</td>
			<td>
				<? echo $this->usuario->login; ?>
			</td>
		</tr>
		<tr>
			<td>
				Email
			</td>
			<td>
				:
			</td>
			<td>
				<? echo $this->usuario->email; ?>
			</td>
		</tr>
	</table>
	<div style="background-color: #F4F4F4; padding: 5px; text-align: center; ">
		<strong>Dados Empresa</strong>
	</div>
	<? echo $this->render("empresa.phtml"); ?>
</div>